projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7803dbb
)
(forward-paragraph): Return the steps left.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 3 Oct 2002 23:00:19 +0000
(23:00 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 3 Oct 2002 23:00:19 +0000
(23:00 +0000)
lisp/textmodes/paragraphs.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/paragraphs.el
b/lisp/textmodes/paragraphs.el
index bc4cac2a088f1a0c684fa1008ccea8cf4d460cf5..73dbd56240d608d39d9771af1b16871610078f87 100644
(file)
--- a/
lisp/textmodes/paragraphs.el
+++ b/
lisp/textmodes/paragraphs.el
@@
-299,7
+299,9
@@
to which the end of the previous line belongs, or the end of the buffer."
(if (< (point) (point-max))
(goto-char start)))
(setq arg (1- arg)))
- (constrain-to-field nil opoint t)))
+ (constrain-to-field nil opoint t)
+ ;; Return the number of steps that could not be done.
+ arg))
(defun backward-paragraph (&optional arg)
"Move backward to start of paragraph.